package Taxi_easy_main;

import java.awt.EventQueue;

import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.BoxLayout;
import javax.swing.JDesktopPane;
import javax.swing.JEditorPane;
import java.awt.Panel;
import javax.swing.JTabbedPane;
import javax.swing.JTextPane;
import javax.swing.ImageIcon;

public class UbicacionUnidad extends JInternalFrame {
	private JTextField textField;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					UbicacionUnidad frame = new UbicacionUnidad();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public UbicacionUnidad() {
		setTitle("UBICACION DE UNIDAD DE TAXI");
		setBounds(100, 100, 552, 380);
		
		JPanel panel = new JPanel();
		getContentPane().add(panel, BorderLayout.NORTH);
		
		JLabel lblIngresePlacaDe = new JLabel("Ingrese Placa de Taxi");
		panel.add(lblIngresePlacaDe);
		
		textField = new JTextField();
		panel.add(textField);
		textField.setColumns(10);
		
		JButton btnNewButton = new JButton("ACEPTAR");
		panel.add(btnNewButton);
		
		JButton btnNewButton_1 = new JButton("CANCELAR");
		panel.add(btnNewButton_1);
		
		JPanel panel_1 = new JPanel();
		getContentPane().add(panel_1, BorderLayout.SOUTH);
		panel_1.setLayout(new BoxLayout(panel_1, BoxLayout.X_AXIS));
		
		JLabel lblDerechosReservados = new JLabel("Derechos reservados");
		panel_1.add(lblDerechosReservados);
		
		JPanel panel_2 = new JPanel();
		getContentPane().add(panel_2, BorderLayout.CENTER);
		panel_2.setLayout(new BorderLayout(0, 0));
		
		JLabel lblNewLabel = new JLabel("New label");
		lblNewLabel.setIcon(new ImageIcon(UbicacionUnidad.class.getResource("/Taxi_easy_images/Captura1.JPG")));
		panel_2.add(lblNewLabel, BorderLayout.CENTER);

	}

}
